<?php
session_start();

if (!isset($_SESSION['isLogged'])) {
    header('Location: index.php');
}
$now=time();
  if(isset($_SESSION['isLogged']) && ($now>$_SESSION['expired'])){
    session_unset();
    session_destroy();
    header('Location: index.php');
  }
?>

<div class="panel panel-primary">
    <div class="panel-heading">
        <h3>Daftar Usulan</h3>
    </div>
    <div class="panel-body">
        <div class="wm-loader in" style="display:none;" id="loader"><b></b><i></i></div>
<table cellpadding="0" cellspacing="0" border="0" class="datatable table table-condensed table-bordered table-hovered col-lg-offset-0" id="list_cari">
    <thead>
        <tr>
            <th>NO SURAT</th>
            <!-- <th>KANWIL</th> -->
            <th>NIP</th>
            <th>Nama</th>
            <th>Jenis Cuti</th>
            <th>Jenis Ijin</th>
            <th>Tanggal Cuti</th>
            <th>Status</th>
            <th>Dokumen</th>
        </tr>
    </thead>
    <tbody>
    </tbody>
</table>

</div>
</div>

<div class="modal fade" id="myModalUpload" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                <h4 class="modal-title">Dokumen</h4>
            </div>
            <div class="modal-body">
                <div id="list_dokumen">
                    <table cellpadding="0" cellspacing="0" border="0" id="list_dokumen" class="datatable table table-condensed table-bordered col-lg-offset-0">
                        <thead>
                            <tr>
                                <th>No</th>
                                <th>Deskripsi</th>
                                <th>Aksi</th>
                            </tr>
                        </thead>
                        <tbody>

                        </tbody>
                    </table>
                </div>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
            </div>
        </div><!-- /.modal-content -->
    </div><!-- /.modal-dialog -->
</div><!-- /.modal -->

<script type="text/javascript" src="js/monitoring.js" ></script>